﻿using CQIE.LabAssist.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CQIE.LabAssist.DataAccesss
{

    public interface IBuildingService
    {
        //获取所有楼栋
        JsonResult getAllBuilding();

        //新增楼栋
        bool addBuilding(Building build);

        //删除楼栋
        bool deteltBuilding(int buildindId);

        bool updateBuilding(Building building);
    }
}
